package com.zb.common.po.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zb.common.po.enums.LogType;
import com.zb.common.po.enums.OpResult;


public class OperationLog {
    private Integer id;
    private String userName;
    private String opObject;
    private String opDescription;
    private OpResult opResult;
    private LogType logType;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOpObject() {
        return opObject;
    }

    public void setOpObject(String opObject) {
        this.opObject = opObject;
    }

    public String getOpDescription() {
        return opDescription;
    }

    public void setOpDescription(String opDescription) {
        this.opDescription = opDescription;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public OpResult getOpResult() {
        return opResult;
    }

    public void setOpResult(OpResult opResult) {
        this.opResult = opResult;
    }

    public LogType getLogType() {
        return logType;
    }

    public void setLogType(LogType logType) {
        this.logType = logType;
    }

}
